<?php
if ( function_exists('register_sidebars') )
    register_sidebars(1);
 
function theme_comments ($comment, $args, $depth) {  
		$GLOBALS['comment'] = $comment; ?> 
	<li <?php comment_class(); ?> id="comment-<?php comment_ID() ?>"> 
		  <div id='div-comment-<?php comment_ID() ?>' style='overflow:hidden;'> 
          <?php echo get_avatar(get_comment_author_email(), 40); ?>  
   
          <?php if ($comment->comment_approved == '0') : ?>  
             <em><?php _e('Your comment is awaiting moderation.') ?></em>  
             <br />  
         <?php endif; ?>  
   
         <?php comment_text() ?>  

         <p class='cmt-info'>
         <?php printf(__('%s'), get_comment_author_link()) ?> @
		 <?php printf(__('%1$s'), get_comment_date()) ?> |
         <?php comment_reply_link(array_merge( $args, array('add_below' =>
'div-comment'.$add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'])));?>
         <?php edit_comment_link(__(' | (Edit)'),'  ','') ?>
         </p>
</div>	   
<?php
}
?>
